projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7f8f1
)
Fix compilation warning: use entry var correctly initilized
author
Javier Jardón
<jjardon@gnome.org>
Tue, 9 Mar 2010 16:14:50 +0000
(17:14 +0100)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:59:08 +0000
(20:59 -0400)
The warning was added in
commit
c744594b2099d03af6b7654de6c8ed5565acd1a9
demos/gtk-demo/search_entry.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/search_entry.c
b/demos/gtk-demo/search_entry.c
index 4a726f5ce9758664a3a7361159d3682c167039ba..580dd13f6cf76a7e437cf916203ffb988831dd53 100644
(file)
--- a/
demos/gtk-demo/search_entry.c
+++ b/
demos/gtk-demo/search_entry.c
@@
-316,11
+316,11
@@
do_search_entry (GtkWidget *do_widget)
/* Create the menu */
menu = create_search_menu (entry);
gtk_menu_attach_to_widget (GTK_MENU (menu), entry, NULL);
- }
- /* add accessible alternatives for icon functionality */
- g_signal_connect (entry, "populate-popup",
- G_CALLBACK (entry_populate_popup), NULL);
+ /* add accessible alternatives for icon functionality */
+ g_signal_connect (entry, "populate-popup",
+ G_CALLBACK (entry_populate_popup), NULL);
+ }
if (!gtk_widget_get_visible (window))
gtk_widget_show_all (window);